#ifndef TIMER_H
#define TIMER_H

#include "Singleton.h"
#include <Windows.h>

class Timer : public Uncopyable
{
	Timer();
	friend class Singleton<Timer>;
public:
	void UpdateTime();
	float GetDt();
	float GetTime();
private:
	float m_currentTime;
	float m_dt;
	float m_ticksPreviousFrame;
};

typedef Singleton<Timer> TheTimer;

#endif //TIMER_H